<%@ include file="/common/taglibs.jsp"%>
<%@ taglib prefix="customer" tagdir="/WEB-INF/tags/customer"%>
<%@ taglib prefix="attribute" tagdir="/WEB-INF/tags/attribute"%>
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="com_modi_table" id="pointInfoForm">
	<tr>
		<th colspan="2" class="title"><h4><fmt:message key="customerDetail.group.shopPoint"/></h4></th>
	</tr>
	<tr>
		<th class="label_width_1"><fmt:message key="customer.shopPoint.total"/>:</th>
		<td>${customer.shopPoint.total}</td>
	</tr>
	<tr>
		<th><fmt:message key="customer.shopPoint.gainedTotal"/>:</th>
		<td>${customer.shopPoint.gainedTotal}</td>
	</tr>
	<tr>
		<th><fmt:message key="customer.shopPoint.usedTotal"/>:</th>
		<td>${customer.shopPoint.usedTotal}</td>
	</tr>
	<authorize:authorizeResource resourceString="/customer/customer/blank.html?doAction=adjustShopPoint*">
		<tr>
			<th colspan="2" class="title"><h4><fmt:message key="customer.shopPoint.adjust"/></h4></th>
		</tr>
		
		<tr>
			<input type="hidden" name="customerId" id="customerId" value="${customer.appuserId}" />
			<th>
				<fmt:message key="customer.shopPoint.adjust.amount"/>:
			</th>
			<td>
				<select name="direction">
					<option value="1"><fmt:message key="customer.shopPoint.adjust.increase"/></option>
					<option value="-1"><fmt:message key="customer.shopPoint.adjust.decrease"/></option>
				</select>
				<input name="amount" id="amount"  style="width:150px" class="inputtxt"/>
			</td>
		</tr>
		<tr>
			<th>
				<fmt:message key="customer.shopPoint.adjust.reason"/>:
			</th>
			<td>
				<textarea  name="description" id="description" style="width:250px;height:100px;" class="textareatxt"></textarea>
			</td>
		</tr>
		<tr>
			<th>
			</th>
			<td>
				<input type="button" onclick="return adjustShopPoint();" value="<fmt:message key="customer.shopPoint.button.confim"/>" class="btn2"/>
			</td>
		</tr>
	</authorize:authorizeResource>
	
</table>
	



